package com.zf.yichat.im.mapper;

import com.zf.yichat.base.FsMapper;
import com.zf.yichat.model.RcFriendships;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RcFriendshipsMapper extends FsMapper<RcFriendships> {

    Integer selectCountFriend(@Param("userId") Long userId);

    /**
     * 根据用户ID查询所有好友Id
     * @param userId
     * @return
     */
    List<Integer> selectFriendIdByUserId(@Param("userId")Long userId);
}